// 引入bcrypt目录
const bcrypt = require('bcrypt')
    // 生成随机字符串

await bcrypt.genSalt(10)

async function run(a) {
    const salt = await bcrypt.genSalt(10)
    const result = await bcrypt.hash(a, salt)
}